package com.hue.service;

import com.hue.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 姚凤桥
 * @since 2021-07-15
 */
public interface UserService extends IService<User> {
    public Map<String,String> login(User user);

    public User getUserByToken(String token);
}
